package com.dhr.tx.service.impl;

import com.dhr.tx.bean.UserPo;
import com.dhr.tx.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Propagation;
import org.springframework.transaction.annotation.Transactional;

/**
 * @description:
 * @className: OperateUserInfoServiceImpl
 * @package: com.dhr.tx.service.impl
 * @author: duanhr@hsyuntai.com
 * @date: 2019/3/12 14:24
 * @copyright: 版权归 HSYUNTAI 所有
 */
@Service("operateUserInfoServiceImpl")
public class OperateUserInfoServiceImpl {

    @Autowired
    private UserService userService;

    /**
     * 非事物方法內調用事物方法，注意事物級別
     *
     * @param userPo
     */
    public void MethodC(UserPo userPo) {
        userService.methodA(userPo);
    }
}
